package com.dpj.seckill.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dpj.seckill.pojo.Goods;
import com.dpj.seckill.pojo.GoodsVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2022-07-05
 */
@Mapper
public interface GoodsMapper extends BaseMapper<Goods> {


    List<GoodsVo> findGoodsVo();

    GoodsVo findGoodById(Long id);

    GoodsVo findGoodsById(Long id);

    GoodsVo findGoodsVoByGoodsId(Long goodId);
}
